Skip to content

chore: Upgrade buf from v0.36.0 to v1.47.2#7747

Merged
abhishekj720 merged 1 commit intomasterfrom
upgrade-buf-v2
Feb 25, 2026
Merged

chore: Upgrade buf from v0.36.0 to v1.47.2#7747
abhishekj720 merged 1 commit intomasterfrom
upgrade-buf-v2

Conversation

@abhishekj720
Copy link
Contributor

@abhishekj720 abhishekj720 commented Feb 25, 2026

What changed?

  • Upgrade buf to v1.47.2 which ships native arm64 binaries
  • Use native arch for buf download URL instead of EMULATE_X86

Why?
buf v0.36.0 is 5 years old and only ships x86_64 binaries, which silently fails on Apple Silicon when Rosetta is not installed (the Makefile downloads a 404 HTML page instead of a real binary).

How did you test it?
proto-lint passes

Potential risks
Low risk. The buf binary is only used for proto-lint during development/CI. No runtime or schema changes.
The v1beta1 buf.yaml config is still supported by buf v1.47.2 (shows a deprecation warning but passes).
EMULATE_X86 is preserved for protoc which still requires it.

Release notes
N/A: build tooling only, no user-facing changes.

Documentation Changes
N/A


Reviewer Validation

PR Description Quality (check these before reviewing code):

  • "What changed" provides a clear 1-2 line summary
    • Project Issue is linked
  • "Why" explains the full motivation with sufficient context
  • Testing is documented:
    • Unit test commands are included (with exact go test invocation)
    • Integration test setup/commands included (if integration tests were run)
    • Canary testing details included (if canary was mentioned)
  • Potential risks section is thoughtfully filled out (or legitimately N/A)
  • Release notes included if this completes a user-facing feature
  • Documentation needs are addressed (or noted if uncertain)

buf v0.36.0 is 5 years old and only ships x86_64 binaries, which
silently fails on Apple Silicon when Rosetta is not installed (the
Makefile downloads a 404 HTML page instead of a real binary).

- Upgrade buf to v1.47.2 which ships native arm64 binaries
- Use native arch for buf download URL instead of EMULATE_X86

Resolves #7748

Made-with: Cursor
@gitar-bot
Copy link

gitar-bot bot commented Feb 25, 2026

Code Review ✅ Approved

Clean, well-scoped upgrade of buf from v0.36.0 to v1.47.2 with correct architecture detection. All platform binary naming conventions verified against actual release assets — no issues found.

Rules ❌ No requirements met

Repository Rules

PR Description Quality Standards: Add GitHub issue link and specific test commands (e.g., make proto-lint)

2 rules not applicable. Show all rules by commenting gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

Copy link
Member

@timl3136 timl3136 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abhishekj720 abhishekj720 merged commit a0ea940 into master Feb 25, 2026
76 of 78 checks passed
@abhishekj720 abhishekj720 deleted the upgrade-buf-v2 branch February 25, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants